package com.sxt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.sxt.netty.NettyServer;

@SpringBootApplication
public class NettyApplication {
	
	public static void main(String[] args) throws Exception {
		
		SpringApplication.run(NettyApplication.class, args);
		
		 /**创建netty服务端*/
		 NettyServer nettyServer = new NettyServer();
		 
		 nettyServer.startServer(8090);
	}

}
